<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>
.::HERRAMIENTA DE CALCULADORA::..
</title>
        <link rel="stylesheet" type="text/css" href="plantilla.css" media="all"/>
		<link rel="stylesheet" href="tabs.css" type="text/css" media="all">

		<script src="scriptaculous/lib/prototype.js" type="text/javascript"></script>
		<script src="scriptaculous/src/effects.js" type="text/javascript"></script>
		<script type="text/javascript" src="validation.js"></script>	
                <script type="text/javascript" src="scripts.js" language="javascript"></script>
<!-- plantilla de formularios -->

<script type="text/javascript" src="plantilla2/scripts/wufoo.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="plantilla2/css/structure.css" type="text/css" />
<link rel="stylesheet" href="plantilla2/css/form.css" type="text/css" />
<link rel="stylesheet" href="plantilla2/css/theme.css" type="text/css" />
</head>

<body>

<div id="balance">
<fieldset>
	<legend style="color:#1078B8;">Ingresos Fuera de la Microempresas</legend>
    <table>
    	<tr>     
          <td class="desc">Pensiones y Salario:<span class="req">*</span></td>
          <td><input name="ifm_suma_1"  type="text" id="ifm_suma_1" onKeyUp="javascript:sumas($('f1'),'ifm');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc">Rentas:<span class="req">*</span></td>
          <td><input name="ifm_suma_2"  type="text" id="ifm_suma_2" onKeyUp="javascript:sumas($('f1'),'ifm');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc">Otros: <span class="req">*</span> </td>
          <td><input name="ifm_suma_3" type="text" id="ifm_suma_3" onKeyUp="javascript:sumas($('f1'),'ifm');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc1" >Total de otros Ingresos Familiares: </td>
          <td class="desc1"><input class="desc1" name="ifm_resultado" type="text" id="ifm_resultado" value="0" disabled="disabled"></td>
        </tr>
        <tr>  
          <td class="desc" for="total_circulante">Total de Gastos Familiares: <span class="req">*</span> </td>
          <td><input name="ifm2_suma_1" type="text" id="ifm2_suma_1" onKeyUp="javascript:sumas($('f1'),'ifm2');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
       </tr>
       <tr>
          <td class="desc">Cuotas de Obligaciones Familiares:<span class="req">*</span></td>
          <td><input name="ifm2_suma_2"  type="text" id="ifm2_suma_2" onKeyUp="javascript:sumas($('f1'),'ifm2');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
       </tr>
       <tr>   	       
          <td class="desc">Otros Gastos Familiares:<span class="req">*</span></td>
          <td><input name="ifm2_suma_3"  type="text" id="ifm2_suma_3" onKeyUp="javascript:sumas($('f1'),'ifm2');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
       </tr>
       <tr>
          <td class="desc1">Total Egresos Familiares: </td>
          <td class="desc1"><input  class="desc1" name="ifm2_resultado" type="text" id="ifm2_resultado" value="0" disabled="disabled">
       </tr>
    </table>
    </fieldset>      
</div>

<div id="pie2">
</div>

   <div id="gastos_negocio">
	<fieldset>
      <legend style="color:#1078B8;">Flujo de Caja Estandarizado(Mensual)</legend>
       
     <table>
      	<tr>  
          <td class="desc">Ventas al contado:<span class="req">*</span></td>
          <td><input name="fcem_suma_1"  type="text" id="fcem_suma_1"  onKeyUp="javascript:sumas($('f1'),'fcem');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc">Recuperaci&oacute;n mensual Cuentas por Cobrar:<span class="req">*</span></td>
          <td><input name="fcem_suma_2"  type="text" id="fcem_suma_2"  onKeyUp="javascript:sumas($('f1'),'fcem');" value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc1">Total de ingresos por Ventas: </td>
          <td class="desc1"><input class="desc1" name="fcem_resultado" type="text" id="fcem_resultado" value="0" disabled="disabled"></td>
        <tr>
        </tr>  
          <td class="desc">Pr&eacute;stamo Futuro: <span class="req">*</span> </td>
          <td><input name="prestamo" type="text" id="prestamo" value="0" class="required field text large" title="Ingrese la cantidad"></td>
       	</tr>
       	<tr>
          <td class="desc">Margen de Contibuci&oacute;n: <span class="req">*</span> </td>
          <td><input name="margen" type="text" id="margen" value="0" class="required field text large" title="Ingrese la cantidad"></td>
 		</tr>
        <tr>         
          <td class="desc1">Costo de Ventas: </td>
          <td class="desc1"><input class="desc1" name="fce2_resta_4" type="text" id="fce2_resta_4" value="0" disabled="disabled"></td>
        </tr>
        <tr>
          <td class="desc">Total de Gastos del Negocio: <span class="req">*</span> </td>
          <td><input name="fce2_resta_5" type="text" id="fce2_resta_5"  value="0" class="required field text large" title="Ingrese la cantidad"></td>
        </tr>
        <tr>
          <td class="desc">Total de otros Ingresos Familiares: <span class="req">*</span> </td>
          <td><input name="fce2_suma_6" type="text" id="fce2_suma_6" value="0" class="required field text large" title="Ingrese la cantidad"></td>				        </tr>
        <tr>
          <td class="desc">Total de Egresos Familiares: <span class="req">*</span> </td>
          <td><input name="fce2_resta_7" type="text" id="fce2_resta_7" value="0" class="required field text large" title="Ingrese la cantidad"></td>
       </tr>
       <tr>            	
          <td class="desc1">Excedente Familiar:</td>
          <td class="desc1"><input class="desc1" name="fce2_resultado" type="text" id="fce2_resultado" value="0" disabled="disabled"></td>
       </tr>
       <tr>
          <td class="desc1">CAPACIDAD DE PAGO:</td>
          <td class="desc1"><input class="desc1" name="capacidad" type="text"  id="capacidad" value="0" disabled="disabled"></td>
       </tr>            
    </table>
    </fieldset>
   </div>  
    
   <div id="gastos_familia" style="margin-top:100px;">
   <fieldset>
   		<legend style="color:#1078B8;">Viabilidad Financiera</legend>
        <table>
        <tr>
          <td class="desc1">Rotaci&oacute;n Cuentas por Cobrar:</td>
          <td class="desc1"><input class="desc1" name="formula_1"  type="text" id="formula_1" value="0" disabled="disabled"> D&iacute;as</td>
        </tr>
        <tr>      
          <td class="desc1">Rotaci&oacute;n Cuentas por Pagar a Proveedores:</td>
          <td class="desc1"><input class="desc1" name="formula_2"  type="text" id="formula_2" value="0" disabled="disables"> D&iacute;as</td>
        </tr>
        <tr>
          <td class="desc1">Rotaci&oacute;n de Inventarios:</td>
          <td class="desc1"><input class="desc1" name="formula_3" type="text" id="formula_3" value="0" disabled="disables"> D&iacute;as</td>
        </tr>
        <tr>
          <td class="desc1">Endeudamiento Futuro:</td>
          <td class="desc1"><input class="desc1" name="formula_4" type="text" id="formula_4" value="0" disabled="disables"> %</td>
        </tr>
        <tr>
          <td class="desc1">Rotaci&oacute;n Capital de Trabajo:</td>
          <td class="desc1"><input class="desc1" name="formula_5" type="text" id="formula_5" value="0" disabled="disables"> Veces</td>
       </tr>
       <tr>         
          <td class="desc1">Punto de Equilibrio:</td>
          <td class="desc1"><input class="desc1" name="formula_6" type="text" id="formula_6" value="0" disabled="disabled"> Pesos</td>
	   </tr>
    </table>
	</fieldset>              
    </div>         
			<script type="text/javascript">
                        var valid = new Validation('f1', {immediate : true, useTitles:true,onSubmit :true});
						validaciones();
            </script>	

</body>
</html>